package extract.document.program;

import common.config.IndexTypeNames;
import common.dao.couchdb.CouchDBDOCFactory;
import common.dao.elastic.ElasticSearchDao;
import extract.document.general.BaseBatchMode;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by Common on 9/11/16.
 */
public class ProgramBatchMode extends BaseBatchMode {
    final Logger logger = LoggerFactory.getLogger(ProgramBatchMode.class);


    public ProgramBatchMode(CouchDBDOCFactory couchdb, ElasticSearchDao esdao){
        super(couchdb, esdao);
        this.couch_con = couchdb.getProgramCon();

        this.indexName = IndexTypeNames.MediaDB.IndexName;
        this.typeName  = IndexTypeNames.MediaDB.ProgramSetName;
    }


}
